/*  导航*/
.header{
    background-color: transparent;
    padding: 1em 0;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;

    .navbar{
        background-color: transparent;
        border: 0;
        border-radius: 0;
        margin: 0;

        .navbar-brand{
            color: white;
            text-transform: uppercase;
            font-family: OSBold;
        }

        .nav{
            a{
                color: white;
                text-transform: uppercase;
                border-bottom: 3px solid transparent;
                transition: all linear 0.3s;

                &:hover{
                    border-bottom: 3px solid #fcac45;
                }
            }
            
        }
    }

    @media screen and (max-width:768px){
        & .navbar .nav a{
            text-align: center;
        }
    }
}

/*footer*/
.footer{
    background-color: #222222;
    padding: 3em 0;

    .box{
        display: flex;
        justify-content: space-between;
        align-content: center;
        align-items: center;

        .copyright{
            font-family: OSLight;
            font-size: 1.2em;
            color: #b2b2b2;
            text-transform: uppercase;
            font-weight: bold;

            span{
                font-family: OSBold;
            }
        }

        .list{
            display: flex;
            justify-content: space-around;
            width: 25%;

            a{
                border: 3px solid #b2b2b2;
                border-radius: 50%;
                transition: all linear 0.3s;

                img{
                    width: 100%;
                }

                &:hover{
                    box-shadow: 0px 0px 10px #b2b2b2;
                }
            }
        }
    }

    @media screen and (max-width:1000px) {
        & .box {
            flex-wrap: wrap;
            
            .copyright{
                width: 100%;
                text-align: center;
                margin-bottom: 2em;
            }

            .list{
                width: 50%;
                margin: 0 auto;
            }
        }
        
    }

    @media screen and (max-width:500px){
        & .box{
            .copyright{
                font-size: 1em;
            }

            .list{
                width: 80%;
            }
        }
    }

    @media screen and (max-width:380px){
        & .box .copyright{
                font-size: 0.8em;
            }
    }

}

/*跳转回顶部*/
#back{
    #gotop{
        position: fixed;
        bottom: 90px;
        right: 20px;
        width: 60px;
        border-radius: 20px;
        overflow: hidden;
        cursor: pointer;
        z-index: 9999;
        transition: all linear 0.4s;
        background-color: #f2f2f2;

        &:hover{
            box-shadow: 0px 0px 10px 0px #b2b2b2;
        }
    }
}